package top.yueyazhui.data_scope.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DataScope {

    /**
     * 部门别名
     * @return
     */
    String deptAlias() default "";

    /**
     * 用户别名
     * @return
     */
    String userAlias() default "";
}
